
using AiQiuQuan.Sport.Model.Enums;

namespace AiQiuQuan.Sport.WebApi.Entities
{
    /// <summary>
    /// 比赛积分规则
    /// </summary>
    public class GamePointRule : BaseEntity
    {
        /// <summary>
        /// 1水平比赛、2年龄比赛、3团体比赛
        /// </summary>
        public GameTypeEnum GameType { get; set; }

        /// <summary>
        /// 实际参赛队伍数
        /// </summary>
        public int TeamCount { get; set; }

        /// <summary>
        /// 第一名积分
        /// </summary>
        public int Rank1Point { get; set; }

        /// <summary>
        /// 第二名积分
        /// </summary>
        public int Rank2Point { get; set; }

        /// <summary>
        /// 第三名积分
        /// </summary>
        public int Rank3Point { get; set; }

        /// <summary>
        /// 第四名积分
        /// </summary>
        public int Rank4Point { get; set; }

        /// <summary>
        /// 八强积分
        /// </summary>
        public int Rank8Point { get; set; }

        /// <summary>
        /// 十六强积分
        /// </summary>
        public int Rank16Point { get; set; }

        /// <summary>
        /// 积分位数规则，json数据格式
        /// </summary>
        public string TimesRule { get; set; }
    }
}
